<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*未访问的链接*/
        a:link {
            color: black;
            text-decoration: none;
        }
        /*已访问的链接*/
        a:visited {
            color: orange;
            text-decoration: none;
        }
        /*鼠标悬停*/
        a:hover {
            color: red;
            text-decoration: none;
        }
        /*鼠标按下*/
        a:active {
            color: aqua;
            text-decoration: none;
        }
    </style>
</head>
<body>
<a href="#">小猪佩奇</a><br>
<div>abc</div>
<a href="https://www.baidu.com" target="_blank">百度</a>
</body>
</html>